package b_thread;

/**
 * @author Cheng-02
 * @version V1.0
 * @Package b_thread
 * @date 2024/4/7 下午5:41
 */
public class test07 {
    public static void main(String[] args) {
        runnable r = new runnable();

            Thread t = new Thread(r);
            Thread t1 = new Thread(r);
            t.start();
            t1.start();

    }
}

class  runnable implements Runnable{
    public void run()
    {
        for (int i = 0; i < 100; i++) {
            System.out.println("runnable"+i);
        }
    }
}